﻿using System;
using RayDen.Library.Core;
using RayDen.Library.Entity.Scene;

namespace RayDen.Library.Entity.Interface {
    public interface IAccelerationStructure {
        void Initialize(SceneGeometryInfo geometry, object customState = null);
        Boolean Intersect(RayInfo ray);
        Boolean Intersect(RayInfo ray, SurfaceIntersectionInfo hit);
    }
}